import shell from 'shelljs'

const { code } = shell.exec('rimraf --help', { silent: true })

if (code !== 0) {
  console.log(`> npm i -g rimraf`)
  shell.exec('npm i -g rimraf')
}
